﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace OnlineSchool.Model
{
    public abstract class EntityBase<I, T> where T : EntityBase<I, T>
    {
        [Required]
        [Column("ID")]
        public I Id { get; set; }
    }
}
